package com.mall.shop.entity.member;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * (MemberReceiveAddress)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-15 14:23:48
 */
@Getter
@Setter
@TableName("ums_member_receive_address")
@Schema(name = "实体", description = "映射")
public class MemberReceiveAddress implements Serializable {
    private static final long serialVersionUID = -49282165161454792L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    @TableField(value = "member_id")
    @Schema(description = "member_id")
    private Long memberId;
    
    @TableField(value = "name")
    @Schema(description = "")
    private String name;
    
    @TableField(value = "phone")
    @Schema(description = "")
    private String phone;
    
    @TableField(value = "post_code")
    @Schema(description = "")
    private String postCode;
    
    @TableField(value = "province")
    @Schema(description = "ʡ")
    private String province;
    
    @TableField(value = "city")
    @Schema(description = "")
    private String city;
    
    @TableField(value = "region")
    @Schema(description = "")
    private String region;
    
    @TableField(value = "detail_address")
    @Schema(description = "")
    private String detailAddress;
    
    @TableField(value = "areacode")
    @Schema(description = "ʡ")
    private String areacode;
    
    @TableField(value = "default_status")
    @Schema(description = "")
    private Integer defaultStatus;
    
}

